/* 卡片样式增强 */
.card {
    border-radius: 10px;
    box-shadow: 0 4px 20px 0 rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    border: none;
}

.card-header {
    background-color: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 20px;
}

.card-body {
    padding: 20px;
}

/* 表格样式 */
.table {
    width: 100%;
    margin-bottom: 1rem;
    color: #212529;
}

.table th {
    border-top: none;
    border-bottom: 2px solid #dee2e6;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1px;
}

.table td {
    vertical-align: middle;
    border-top: 1px solid #f1f1f1;
}

.table-hover tbody tr:hover {
    background-color: rgba(0, 0, 0, 0.02);
}

/* 分页样式 */
.pagination-container {
    padding: 20px 0;
    background-color: #f8f9fa;
    border-radius: 0 0 10px 10px;
}

.page-info {
    font-size: 0.9rem;
    color: #6c757d;
}

.pagination {
    margin: 0;
}

.page-item.active .page-link {
    background-color: #f96332;
    border-color: #f96332;
}

.page-link {
    color: #f96332;
    border: 1px solid #dee2e6;
    margin: 0 3px;
    border-radius: 4px !important;
}

.page-link:hover {
    color: #f96332;
    background-color: #f8f9fa;
    border-color: #dee2e6;
}

/* 进度条样式 */
.progress {
    height: 8px;
    border-radius: 4px;
    background-color: #f1f1f1;
}

.progress-bar {
    background-color: #f96332;
    border-radius: 4px;
}

/* 徽章样式 */
.badge {
    padding: 5px 10px;
    font-weight: 500;
    font-size: 0.75rem;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-primary {
    background-color: #1d8cf8;
}

.badge-success {
    background-color: #00bf9a;
}

.badge-warning {
    background-color: #ff8d72;
}

.badge-info {
    background-color: #5e72e4;
}

.badge-danger {
    background-color: #fd5d93;
}

/* 文件上传区域 */
.dropzone {
    border: 2px dashed #e9ecef;
    border-radius: 6px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s;
}

.dropzone:hover {
    border-color: #f96332;
    background-color: rgba(249, 99, 50, 0.05);
}

.custom-file-label::after {
    content: "浏览";
}

/* 按钮样式 */
.btn {
    border-radius: 30px;
    padding: 8px 20px;
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all 0.3s;
}

.btn-sm {
    padding: 5px 15px;
    font-size: 0.75rem;
}

.btn-primary {
    background-color: #f96332;
    border-color: #f96332;
}

.btn-primary:hover {
    background-color: #f84b12;
    border-color: #f84b12;
}

.btn-outline-info {
    color: #1d8cf8;
    border-color: #1d8cf8;
}

.btn-outline-info:hover {
    background-color: #1d8cf8;
    color: #fff;
}

/* 旋转动画 */
.spin {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* 响应式调整 */
@media (max-width: 768px) {
    .card-header .d-flex {
        flex-direction: column;
        align-items: flex-start !important;
    }

    .card-header .btn-group {
        margin-top: 10px;
        align-self: flex-end;
    }

    .pagination-container {
        flex-direction: column;
    }

    .page-info {
        margin-bottom: 10px;
    }
}